package semaphore;

public class Semaphore {
	
	private int positionSema;
	private boolean senseRail;
	private EtatSemaphore etat;

	public Semaphore(int pos, boolean sense){
		this.positionSema=pos;
		this.senseRail=sense;
	}

	public void setPositionSema(int positionSema) {
		this.positionSema = positionSema;
	}

	
	public void setSenseRail(boolean senseRail) {
		this.senseRail = senseRail;
	}
	
	public EtatSemaphore getEtat() {
		return etat;
	}


	public void setEtat(EtatSemaphore etat) {
		this.etat = etat;
	}
	
	public Semaphore(){
		
	}


	public int getPositionSema() {
		return positionSema;
	}

}
